package com.online.dao.user;

import com.online.pojo.UpComing_Shop;
import com.online.pojo.User;

import java.sql.SQLException;
import java.util.List;

public interface ShopDao {
    //商家提交审批
    public boolean insertShop(String shop_name,String user_name,String pwd,String legal_p,String tel);
    //展示正在审批的商家
    public List<UpComing_Shop> selectShop(List<UpComing_Shop> list) throws SQLException;
    //删除正在审批商家
    public boolean del(String name) throws SQLException;
    //展示同意入驻商家
    public UpComing_Shop select(String name) throws SQLException;
    //入驻
    public boolean insertmerchant(String shop_name,String user_name,String pwd,String legal_p,String tel,int account) throws SQLException;

}
